package com.umerclass.bean.user;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by jack
 * 用户信息
 */

@DatabaseTable(tableName = "tb_user")
public class UserInfo {

    @DatabaseField(columnName = "id", generatedId=true)
    private int id;
    @DatabaseField(columnName = "name")
    private String name = "";
    @DatabaseField(columnName = "token")
    private String token;
    @DatabaseField(columnName = "phone")
    private String phone;
    @DatabaseField(columnName = "header")
    private String header;
    @DatabaseField(columnName = "password")
    private String password;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
